Function at 0x454a80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f67d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x38], 0x503ba8
mov eax, dword [esp + 0x70]
mov dword [esp + 0x54], ebp
cmp eax, ebp
je 0x454e83
cmp dword [ebx + 0x80], ebp
je 0x454b0e
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push ebp
push ebp
push ebp
push ebp
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
mov edx, dword [0x5361f4]
lea ecx, [esp + 0x54]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.0044d6b0
jmp 0x454c63
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, ebx
call fcn.00453e10
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebx
call fcn.00453e10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jne 0x454b65
mov dword [esp + 0x38], 0x503bcc
mov dword [esp + 0x54], 1
jmp 0x454c82
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0x150]
mov ebx, dword [esp + 0x40]
push 0xffffffffffffffff
lea ecx, [eax + edx*4]
mov eax, dword [esp + 0x28]
lea edx, [ebx + 1]
mov ebp, dword [ecx]
push edx
mov esi, dword [ecx + 4]
add esi, eax
mov edi, dword [ecx + 8]
lea ecx, [esp + 0x40]
sub edi, eax
call fcn.004550c0
mov ecx, dword [esp + 0x3c]
lea eax, [ebx + ebx*2]
lea edx, [ecx + eax*4]
mov dword [ecx + eax*4], ebp
mov dword [edx + 4], esi
mov dword [edx + 8], edi
mov eax, dword [esp + 0x20]
lea esi, [eax + 1]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jge 0x454c13
lea ebx, [esi + esi*2]
shl ebx, 2
mov edx, dword [esp + 0x14]
mov ecx, ebx
push 0xffffffffffffffff
mov edi, dword [edx + 0x150]
add ecx, edi
mov edi, dword [esp + 0x44]
mov ebp, dword [ecx]
lea edx, [edi + 1]
push edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x40]
call fcn.004550c0
mov ecx, dword [esp + 0x3c]
lea eax, [edi + edi*2]
inc esi
add ebx, 0xc
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [edx], ebp
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x1c]
cmp esi, eax
jl 0x454bbc
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x28]
mov ecx, dword [eax + 0x150]
push 0xffffffffffffffff
lea edx, [ecx + edx*4]
lea ecx, [esi + 1]
push ecx
lea ecx, [esp + 0x40]
mov edi, dword [edx]
mov ebx, dword [edx + 4]
mov eax, dword [edx + 8]
mov dword [esp + 0x3c], eax
call fcn.004550c0
mov eax, dword [esp + 0x3c]
lea edx, [esi + esi*2]
lea ecx, [eax + edx*4]
mov dword [eax + edx*4], edi
mov edi, dword [esp + 0x10]
mov dword [ecx + 4], ebx
mov ebx, dword [esp + 0x14]
mov dword [ecx + 8], ebp
xor ebp, ebp
mov eax, dword [esp + 0x40]
mov esi, eax
cmp eax, 2
mov dword [esp + 0x60], esi
jge 0x454c9a
mov dword [esp + 0x38], 0x503bcc
mov dword [esp + 0x54], 2
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x454c93
push eax
call fcn.004d2e05
add esp, 4
xor eax, eax
jmp 0x454f82
cmp dword [ebx + 0x74], ebp
je 0x454d39
cmp dword [ebx + 0x78], ebp
je 0x454d39
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x6c], 1
mov eax, dword [edx]
mov ecx, dword [edx + 4]
cmp ecx, ebp
mov edx, dword [edx + 8]
mov dword [esp + 0x34], edx
jle 0x454cdd
push ebp
push eax
mov ecx, ebx
call fcn.0044e550
push eax
mov ecx, ebx
call fcn.00455070
mov dword [esp + 0x18], eax
cmp esi, ebp
mov dword [esp + 0x70], ebp
jle 0x454f5f
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x64]
add ecx, eax
mov ebx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x6c]
test ecx, ecx
mov dword [esp + 0x34], edx
je 0x454dd7
test eax, eax
jne 0x454d3f
mov edi, dword [esp + 0x14]
push eax
push ebx
mov ecx, edi
call fcn.0044e550
push eax
mov ecx, edi
call fcn.00455070
mov dword [esp + 0x18], eax
jmp 0x454dd7
mov dword [esp + 0x6c], ebp
jmp 0x454cdd
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x454dd7
cdq
idiv dword [0x5355b0]
mov ecx, dword [esp + 0x14]
push 0
push eax
push 0
push 0
push 0
call fcn.004530a0
mov edi, eax
mov dword [esp + 0x5c], edi
lea eax, [edi + edi]
push eax
mov dword [esp + 0x6c], eax
call fcn.004d2ddc
mov esi, eax
mov eax, dword [esp + 0x1c]
cdq
idiv dword [0x5355b0]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x74], esi
push 0
push eax
push 0
push 0
push esi
call fcn.004530a0
test ebp, ebp
je 0x454dc2
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
mov edx, ecx
lea edi, [ebp + eax*2]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x74]
push esi
call fcn.004d2e05
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x64]
add esp, 4
add eax, edi
jmp 0x454ddb
mov eax, dword [esp + 0x10]
test ebp, ebp
je 0x454e15
mov ecx, dword [esp + 0x14]
lea edi, [ebp + eax*2]
shl ebx, 5
mov edx, dword [ecx + 0x2d8]
add ebx, edx
mov edx, dword [esp + 0x34]
mov ebx, dword [ebx + 8]
lea ecx, [edx + edx]
mov edx, dword [esp + 0x30]
lea esi, [ebx + edx*2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x70]
lea ecx, [esi - 1]
add eax, ebx
cmp edx, ecx
mov dword [esp + 0x10], eax
jge 0x454e4b
mov ecx, dword [esp + 0x78]
test ebp, ebp
je 0x454e79
cmp ecx, 1
jne 0x454e6c
mov word [ebp + eax*2], 0xd
inc eax
mov word [ebp + eax*2], 0xa
inc eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x64]
inc edx
add ecx, 0xc
cmp edx, esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x64], ecx
jl 0x454cf1
mov edi, dword [esp + 0x10]
jmp 0x454f5d
test ecx, ecx
je 0x454e3f
mov word [ebp + eax*2], 0xd
jmp 0x454e46
cmp ecx, 1
jne 0x454e46
add eax, 2
jmp 0x454e47
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
mov ecx, edx
cmp edx, eax
mov dword [esp + 0x70], ecx
jg 0x454f5f
mov ebp, dword [esp + 0x5c]
mov eax, edx
shl eax, 5
mov dword [esp + 0x78], eax
jmp 0x454eac
mov ebx, dword [esp + 0x14]
mov esi, dword [ebx + 0x2d8]
add eax, esi
cmp ecx, edx
mov esi, dword [eax + 8]
mov eax, dword [eax]
lea ebx, [eax - 1]
jne 0x454ecb
mov eax, dword [esp + 0x60]
sub ebx, eax
lea esi, [esi + eax*2]
jmp 0x454ed5
cmp ecx, dword [esp + 0x6c]
jne 0x454ed5
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x454f9b
test ebx, ebx
jle 0x454f05
mov ax, word [esi]
push eax
call fcn.004bfa20
add esp, 4
test eax, eax
je 0x454f97
add esi, 2
dec ebx
test ebx, ebx
jg 0x454ee5
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x64]
cmp ecx, edx
jle 0x454f23
test ebp, ebp
je 0x454f1c
mov eax, dword [str.default_d_mac]
mov eax, dword [eax]
mov dword [ebp + edi*2], eax
add edi, 2
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x74]
test eax, eax
je 0x454f41
test ebp, ebp
je 0x454f3a
mov eax, dword [str.default_d_mac]
mov eax, dword [eax]
mov dword [ebp + edi*2], eax
add edi, 2
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x6c]
inc ecx
add eax, 0x20
cmp ecx, esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], eax
jle 0x454ea8
xor ebp, ebp
mov dword [esp + 0x38], 0x503bcc
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], 3
cmp eax, ebp
je 0x454f80
push eax
call fcn.004d2e05
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 0x20
mov ecx, dword [esp + 0x70]
test ebx, ebx
jle 0x454f05
test ebp, ebp
jne 0x454fb4
mov edx, dword [esp + 0x64]
inc edi
add edi, ebx
mov dword [esp + 0x10], edi
jmp 0x454f41
test edi, edi
jle 0x454fdb
mov cx, word [ebp + edi*2 - 2]
push ecx
call fcn.004bfa20
add esp, 4
test eax, eax
jne 0x454fdb
mov dx, word [0x527930]
mov word [ebp + edi*2], dx
inc edi
mov dword [esp + 0x10], edi
lea ecx, [ebx + ebx]
lea edi, [ebp + edi*2]
mov eax, ecx
mov edx, dword [esp + 0x64]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
add edi, ebx
mov dword [esp + 0x10], edi
jmp 0x454f41