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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x542bea
push eax
mov dword fs:[0], esp
sub esp, 0xa10
push ebx
push ebp
mov ebp, ecx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0x418], esi
jne 0x413f55
cmp dword [ebp + 0xb4], esi
jne 0x41396c
call fcn.00410250
push 0x3e8
mov ecx, ebp
call fcn.0053ff18
mov ebx, dword [esp + 0xa30]
mov edi, eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x58], edi
call fcn.004ac5b0
mov dword [esp + 0xa28], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0x555580
lea ecx, [esp + 0x78]
mov byte [esp + 0xa28], 1
call fcn.005402c0
lea ecx, [esp + 0x40]
mov byte [esp + 0xa28], 2
call fcn.005402c0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x555580
mov eax, dword [ebp + 0x78]
mov byte [esp + 0xa28], 4
cmp eax, esi
ja 0x413aa7
mov eax, dword [edi + 0x20]
push eax
call dword [0x553da4]
push eax
call fcn.00540008
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x60]
push ecx
push edx
mov esi, eax
call dword [0x553db8]
lea eax, [esp + 0x60]
mov ecx, ebp
push eax
call fcn.0054020c
mov edx, dword [esi]
push 6
mov ecx, esi
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov edi, eax
mov eax, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [0x553100]
push edi
mov ecx, esi
call fcn.005401e8
mov edx, dword [esi + 4]
mov eax, dword [ebp + 0x20]
push edx
push eax
call dword [0x553d40]
mov esi, 0x5555a8
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0xa28], 5
call fcn.005400f8
mov edi, 0x555594
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], edi
mov byte [esp + 0xa28], 2
call fcn.005402ba
lea ecx, [esp + 0x78]
mov byte [esp + 0xa28], 1
call fcn.005402ba
mov dword [esp + 0x2c], esi
mov byte [esp + 0xa28], 6
jmp 0x413f31
cmp dword [esp + 0xa30], esi
jne 0x413b7d
call dword [0x553d14]
push eax
call fcn.00540074
mov ecx, dword [eax + 0x20]
push ecx
call dword [0x553da4]
push eax
call fcn.00540008
mov esi, eax
test esi, esi
je 0x413ad9
mov eax, dword [esi + 4]
push eax
call dword [0x5530d0]
push eax
lea ecx, [esp + 0x44]
call fcn.005402b4
mov eax, dword [ebp + 0xc8]
mov ebx, dword [ebp + 0xc0]
mov ecx, dword [ebp + 0xc4]
mov edi, dword [ebp + 0xbc]
mov edx, dword [esi + 4]
sub eax, ebx
sub ecx, edi
push eax
push ecx
push edx
call dword [0x5530c8]
push eax
lea ecx, [esp + 0x14]
call fcn.00540104
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0x20]
push eax
push ecx
call dword [0x553d40]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, esi
push eax
push edx
call fcn.005402ae
mov ebx, dword [ebp + 0xc0]
mov ecx, dword [ebp + 0xc4]
mov esi, dword [ebp + 0xbc]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xc8]
push 0xffffff
sub eax, ebx
sub ecx, esi
push eax
push ecx
push 0
push 0
lea ecx, [esp + 0x54]
call fcn.005402a8
lea ebx, [esp + 0x40]
xor esi, esi
mov eax, dword [ebp + 0x64]
xor edi, edi
test eax, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], edi
jle 0x413e41
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x3c], 0
test eax, eax
jle 0x413e2d
cmp edi, dword [ebp + 0x78]
jae 0x413e0b
mov edx, dword [ebp + 0x74]
mov esi, dword [edx + edi*4]
test esi, esi
je 0x413e0b
push esi
push ebx
mov ecx, ebp
call fcn.004100f0
mov al, byte [esi + 0x18]
test al, al
je 0x413e0b
mov ecx, ebp
call fcn.00410710
test al, al
jne 0x413ce6
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x413bfb
cmp byte [esi + 0x25], 1
jne 0x413bfb
push 0
call fcn.004aecb0
mov edi, eax
jmp 0x413bfd
xor edi, edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x556d28
push esi
mov byte [esp + 0xa2c], 7
call dword [0x5530f8]
push eax
lea ecx, [esp + 0x20]
call fcn.00540104
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.00540272
lea ecx, [esp + 0x70]
lea edx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x54]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.004135c0
test edi, edi
je 0x413c82
mov ecx, dword [esi + 0x2c]
push 1
push edi
call fcn.004af000
push 0
lea ecx, [esp + 0x8c]
call fcn.004bcc70
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x2c]
push 0
push edx
push eax
call fcn.004b2150
mov byte [esi + 0x25], 0
mov ecx, dword [esi + 0x2c]
push 0
call fcn.004aecb0
test eax, eax
je 0x413ca7
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push 0
push 0
push ecx
mov ecx, dword [esi + 0x2c]
push edx
push ebx
call fcn.004acbc0
push 0
mov ecx, ebx
call fcn.00540272
lea ecx, [esp + 0x1c]
call fcn.005400f8
mov dword [esp + 0x1c], 0x5555a8
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa28], 8
call fcn.005400f8
mov edi, dword [esp + 0x18]
mov byte [esp + 0xa28], 4
mov dword [esp + 0x1c], 0x555594
mov ecx, dword [ebp + 0x8c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x413d29
cmp edi, dword [ebp + 0xec]
jne 0x413d48
push 0x64c8
mov ecx, esi
sub esp, 0x10
mov eax, dword [ecx]
mov edx, esp
push ebx
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
call fcn.004107d0
jmp 0x413d48
mov ecx, ebp
call fcn.00410710
test al, al
je 0x413d3b
mov ecx, ebp
call fcn.00413730
push 0
push 0
push ebx
push edi
mov ecx, ebp
call fcn.004119d0
mov al, byte [ebp + 0xa0]
test al, al
je 0x413e0b
lea ecx, [esp + 0x554]
call fcn.004ac5b0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x555580
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
push 0x1fb
push 2
push 0x1fb
mov byte [esp + 0xa34], 0xa
sub edi, 0x18
sub esi, 0x30
call fcn.0054010a
push eax
call dword [0x553da8]
push eax
lea ecx, [esp + 0x28]
call fcn.00540104
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x24]
neg eax
sbb eax, eax
push 0
push 0
add esi, 0xfffffff6
push 0
add edi, 0xffffffe2
and eax, ecx
push esi
push edi
push eax
push ebx
lea ecx, [esp + 0x570]
call fcn.004aca10
mov dword [esp + 0x24], 0x5555a8
lea ecx, [esp + 0x24]
mov byte [esp + 0xa28], 0xb
call fcn.005400f8
lea ecx, [esp + 0x554]
mov dword [esp + 0x24], 0x555594
mov byte [esp + 0xa28], 4
call fcn.004ac660
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ecx, dword [ebp + 0x68]
inc eax
inc edi
inc edx
cmp eax, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], edx
jl 0x413ba9
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x64]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x413b96
mov eax, dword [esp + 0xa30]
test eax, eax
jne 0x413ee0
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 0x20]
push eax
call dword [0x553da4]
push eax
call fcn.00540008
mov ecx, dword [ebp + 0xc8]
mov edx, dword [ebp + 0xc4]
mov ebx, dword [ebp + 0xbc]
mov esi, eax
mov eax, dword [ebp + 0xc0]
sub edx, ebx
mov ebx, dword [esp + 0x44]
sub ecx, eax
lea eax, [esp + 0x40]
push 0xcc0020
neg eax
sbb eax, eax
push 0
and eax, ebx
push 0
push eax
push ecx
mov ecx, dword [esi + 4]
push edx
push 0
push 0
push ecx
call dword [0x5530fc]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x413eb5
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x44]
push eax
push edx
call fcn.005402ae
lea ecx, [esp + 0x10]
call fcn.005400f8
lea ecx, [esp + 0x40]
call fcn.005402a2
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0x20]
push eax
push ecx
call dword [0x553d40]
mov esi, 0x5555a8
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0xa28], 0xc
call fcn.005400f8
mov edi, 0x555594
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], edi
mov byte [esp + 0xa28], 2
call fcn.005402ba
lea ecx, [esp + 0x78]
mov byte [esp + 0xa28], 1
call fcn.005402ba
mov dword [esp + 0x2c], esi
mov byte [esp + 0xa28], 0xd
lea ecx, [esp + 0x2c]
call fcn.005400f8
lea ecx, [esp + 0x88]
mov dword [esp + 0x2c], edi
mov dword [esp + 0xa28], 0xffffffff
call fcn.004ac660
mov ecx, dword [esp + 0xa20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa1c
ret 4