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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b78b1
push eax
mov dword fs:[0], esp
sub esp, 0xc34
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x10], ebx
je case.default.0x415dcb
mov eax, dword [esi + 0xbc]
cmp eax, 0xc
ja case.default.0x415dcb
jmp dword [eax*4 + 0x41668c]
mov dword [0x63680c], 0x12c
jmp case.default.0x415dcb
mov dword [0x63680c], 0x4b0
jmp case.default.0x415dcb
mov dword [0x63680c], 0x960
jmp case.default.0x415dcb
mov dword [0x63680c], 0x12c0
jmp case.default.0x415dcb
mov eax, dword [esi + 0x174]
jmp 0x415e80
mov dword [0x63680c], 0x2580
jmp case.default.0x415dcb
mov dword [0x63680c], 0x4b00
jmp case.default.0x415dcb
mov ecx, dword [esi + 0x218]
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x30]
dec ecx
je 0x415e65
dec ecx
je 0x415e5a
dec ecx
jne 0x415e80
lea ecx, [eax + eax*4]
mov eax, 0x88888889
imul ecx
mov eax, edx
add eax, ecx
sar eax, 3
mov ecx, eax
shr ecx, 0x1f
add eax, ecx
jmp 0x415e80
lea ecx, [eax*8]
sub ecx, eax
jmp 0x415e6b
lea ecx, [eax + eax*4]
lea ecx, [eax + ecx*2]
mov eax, 0x88888889
imul ecx
mov eax, edx
add eax, ecx
sar eax, 3
mov edx, eax
shr edx, 0x1f
add eax, edx
mov dword [0x63680c], eax
mov eax, dword [esi + 0x264]
mov ecx, dword [esi + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x1a8]
cmp ecx, ebx
je 0x416002
mov edx, dword [ecx + 0x1070]
mov ebp, dword [ecx + 0x1074]
sub edx, ebp
and edx, 0x7ff
cmp edx, 0xbb7
jge 0x415f71
mov edi, dword [ecx + 0x1070]
mov edx, ebp
sub edi, edx
and edi, 0x7ff
cmp edi, ebx
jle 0x416002
xor edx, edx
cmp edi, ebx
mov byte [esp + 0x8c], bl
jle 0x415f26
mov ebp, dword [ecx + 0x1074]
mov eax, dword [ecx + 0x1070]
cmp eax, ebp
je 0x415f26
mov al, byte [ecx + ebp + 0x870]
inc ebp
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
and eax, 0xff
and ebp, 0x7ff
cmp eax, 0xffffffff
mov dword [ecx + 0x1074], ebp
je 0x415f26
mov byte [esp + edx + 0x8c], al
inc edx
cmp edx, edi
jl 0x415ee4
mov edx, dword [esi]
push ebx
lea eax, [esp + 0x90]
push edi
push eax
push 0x92
mov ecx, esi
call dword [edx + 8]
cmp eax, ebx
jne 0x416002
xor ebp, ebp
cmp edi, ebx
jle 0x415fe8
mov cl, byte [esi + 0x1ac]
mov al, byte [esp + ebp + 0x8c]
cmp cl, 5
jne 0x415f64
cmp al, 1
je 0x415f7b
inc ebp
mov byte [esi + 0x1ac], al
cmp ebp, edi
jl 0x415f4e
jmp 0x415fe8
mov edi, 0xbb7
jmp 0x415ed7
mov edx, dword [esi]
push ebx
lea eax, [esp + 0x90]
push ebx
push eax
push 0x22
mov ecx, esi
mov byte [esi + 0x1ac], 1
mov byte [esp + ebp + 0x9c], bl
call dword [edx + 8]
mov edx, dword [esi]
push ebx
push ebx
push ebx
push 0x94
mov ecx, esi
call dword [edx + 8]
mov eax, dword [esi]
push ebx
push 2
push 0x626238
push 0x92
mov ecx, esi
call dword [eax + 8]
lea ecx, [edi - 1]
cmp ebp, ecx
jge 0x416672
mov edx, dword [esi]
sub edi, ebp
dec edi
push ebx
lea eax, [esp + ebp + 0x91]
push edi
push eax
push 0x92
mov ecx, esi
call dword [edx + 8]
jmp 0x416672
mov edx, dword [esi]
push ebx
lea eax, [esp + 0x90]
push ebx
push eax
push 0x22
mov ecx, esi
mov byte [esp + ebp + 0x9c], bl
call dword [edx + 8]
mov ecx, dword [esi + 0x1a8]
lea ebp, [esi + 0x60]
cmp ecx, ebx
je 0x4160db
mov edx, dword [ebp]
mov edi, dword [edx - 8]
cmp edi, ebx
je 0x41609a
mov eax, dword [ecx + 0x40]
cmp eax, 4
je 0x41602e
cmp eax, 5
je 0x41602e
xor eax, eax
jmp 0x41603d
mov eax, 8
sub eax, dword [ecx + 0x86c]
imul eax, dword [ecx + 0x3c]
cmp edi, eax
jl 0x416063
mov eax, dword [ecx + 0x40]
cmp eax, 4
je 0x416052
cmp eax, 5
je 0x416052
xor edi, edi
jmp 0x416063
mov eax, dword [ecx + 0x86c]
mov edi, 8
sub edi, eax
imul edi, dword [ecx + 0x3c]
push edi
push edx
call fcn.0040c230
lea ecx, [esp + 0x14]
push edi
push ecx
mov ecx, ebp
call fcn.0058a898
push eax
mov ecx, ebp
mov dword [esp + 0xc50], ebx
call fcn.00593814
lea ecx, [esp + 0x14]
mov dword [esp + 0xc4c], 0xffffffff
call fcn.005936db
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 0x40]
cmp eax, 4
je 0x4160b1
cmp eax, 5
jne 0x416210
mov edx, dword [ecx + 0x86c]
mov eax, 8
sub eax, edx
imul eax, dword [ecx + 0x3c]
cmp eax, ebx
je 0x416210
mov edx, dword [esi]
push ebx
push ebx
push eax
push 0x24
mov ecx, esi
call dword [edx + 8]
jmp 0x416210
mov eax, dword [ebp]
mov edi, dword [eax - 8]
cmp edi, ebx
je 0x416210
mov eax, dword [esi + 0xc8]
cmp edi, eax
jl 0x4160f5
mov edi, eax
mov byte [esp + 0x20], bl
mov byte [esp + 0x27], bl
mov dword [esp + 0xc4c], 1
mov byte [esp + 0x32], bl
mov byte [esp + 0x39], bl
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x64
push 7
lea ecx, [esp + 0x48]
mov byte [esp + 0xc50], 3
mov dword [esp + 0x70], ebx
call fcn.0040b8a0
mov ecx, 1
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], ecx
mov eax, dword [ebp]
push edi
push eax
push 0xf0
push ebx
push ebx
push ebx
push ecx
push 0xa
lea eax, [esi + 0x128]
push ebx
push eax
lea eax, [esi + 0x116]
lea ecx, [esp + 0x48]
push eax
lea eax, [esi + 0x104]
push eax
mov dword [esp + 0xc7c], 4
call fcn.0040d490
mov ecx, dword [esi + 0x264]
cmp ecx, ebx
je 0x416192
lea edx, [esp + 0x20]
push edx
call fcn.0040f4b0
lea eax, [esp + 0x14]
push edi
push eax
mov ecx, ebp
call fcn.0058a898
push eax
mov ecx, ebp
mov byte [esp + 0xc50], 5
call fcn.00593814
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4c], 4
call fcn.005936db
mov ecx, dword [ebp]
mov edi, dword [ecx - 8]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc4c], 8
cmp eax, ebx
mov dword [esp + 0x44], ebx
je 0x4161e6
push eax
call fcn.0058ed21
add esp, 4
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0xc4c], 7
cmp ecx, ebx
je 0x4161fd
push 3
call fcn.0040b620
cmp edi, ebx
mov dword [esp + 0xc4c], 0xffffffff
jne 0x4160e9
mov eax, dword [esi + 0x1a8]
cmp eax, ebx
je 0x416466
mov ecx, dword [esi + 0x184]
mov eax, dword [eax + 0x40]
xor edi, edi
cmp ecx, 2
mov dword [esp + 0x10], eax
jne 0x416278
cmp eax, 4
jne 0x416252
mov edx, dword [esi]
push ebx
push ebx
push 0x626228
push 0x22
mov ecx, esi
mov dword [esi + 0x3c], 1
call dword [edx + 8]
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x184], 2
jne 0x416278
cmp eax, ebx
jne 0x416278
mov eax, dword [esi]
push ebx
push ebx
push 0x626218
push 0x22
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esp + 0x10]
mov edi, 1
cmp dword [esi + 0x184], 3
je 0x41629a
cmp eax, 3
jne 0x41629a
mov edx, dword [esi]
push ebx
push ebx
push 0x626200
push 0x22
mov ecx, esi
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x184]
cmp ecx, 4
je 0x4162b3
cmp ecx, 5
je 0x4162b3
cmp ecx, 3
jne 0x4163ca
cmp eax, ebx
jne 0x4163ca
lea eax, [esp + 0x18]
push 0xc9f4
push eax
call fcn.004ec350
add esp, 8
mov ecx, dword [esi + 0x1a8]
mov dword [esp + 0xc4c], 9
add ecx, 0x16
call fcn.0040b820
push eax
lea ecx, [esp + 0x1c]
call fcn.00593ab7
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 0x28]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x416388
lea edx, [esp + 0x1c]
push 0xc991
push edx
call fcn.004ec350
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc50], 0xa
call fcn.00593af3
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4c], 9
call fcn.005936db
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, ebx
jle 0x416388
mov eax, dword [esi + 0x1a8]
xor ecx, ecx
add eax, 0x28
mov edx, dword [eax]
cmp edi, edx
mov edx, dword [eax + 8]
setge cl
dec ecx
and ecx, edi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*2]
call fcn.0040b820
push eax
lea ecx, [esp + 0x1c]
call fcn.00593ab7
push 0x623650
lea ecx, [esp + 0x1c]
call fcn.00593ab7
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jl 0x416344
push 0x6261fc
lea ecx, [esp + 0x1c]
call fcn.00593ab7
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
push ebx
push ebx
push ecx
push 0x22
mov ecx, esi
call dword [eax + 8]
mov ecx, ebp
mov edi, 1
call fcn.00593666
lea ecx, [esp + 0x18]
mov dword [esp + 0xc4c], 0xffffffff
call fcn.005936db
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x184], ebx
je 0x416427
cmp eax, ebx
jne 0x416427
mov eax, dword [esi + 0x1a8]
xor edx, edx
mov dword [esp + 0x7c], 0x6261f0
mov dword [esp + 0x80], 0x6261e0
mov eax, dword [eax + 0x44]
mov dword [esp + 0x84], 0x6261d4
cmp eax, ebx
mov dword [esp + 0x88], 0x6261c0
setle dl
dec edx
push ebx
and eax, edx
mov edx, dword [esi]
push ebx
mov ecx, esi
mov eax, dword [esp + eax*4 + 0x84]
push eax
push 0x22
call dword [edx + 8]
jmp 0x41642b
cmp edi, ebx
je 0x41645c
mov ecx, esi
call fcn.00415cb0
mov ecx, dword [esi + 0x1a8]
push ecx
mov ecx, dword [esi + 0x264]
call fcn.0040fab0
mov ecx, ebp
mov dword [esi + 0x1a8], ebx
mov dword [esi + 0x184], ebx
call fcn.00593666
mov dword [esi + 0x3c], ebx
jmp 0x416466
mov edx, dword [esp + 0x10]
mov dword [esi + 0x184], edx
cmp dword [esi + 0x1a8], ebx
jne 0x41665c
mov ecx, dword [esi + 0x264]
cmp dword [ecx + 0x170], ebx
je 0x41665c
cmp dword [esi + 0x10], ebx
je 0x41665c
call fcn.0040fa80
cmp eax, ebx
mov dword [esi + 0x1a8], eax
je 0x41665c
mov ecx, dword [0x639698]
mov dword [esp + 0x10], ecx
lea ecx, [eax + 0x16]
mov dword [esp + 0xc4c], 0xb
call fcn.0040b820
push eax
lea edx, [esp + 0x14]
push 0x6261a0
push edx
call fcn.0058aded
mov eax, dword [esi + 0x1a8]
add esp, 0xc
mov edi, dword [eax + 0x28]
cmp edi, ebx
je 0x41652e
push 0x626104
lea ecx, [esp + 0x14]
call fcn.00593ab7
dec edi
cmp edi, ebx
jl 0x41652e
mov eax, dword [esi + 0x1a8]
xor ecx, ecx
add eax, 0x28
mov ebp, dword [eax]
mov edx, dword [eax + 8]
cmp edi, ebp
setge cl
dec ecx
and ecx, edi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*2]
call fcn.0040b820
push eax
lea ecx, [esp + 0x14]
call fcn.00593ab7
push 0x623650
lea ecx, [esp + 0x14]
call fcn.00593ab7
dec edi
jns 0x4164f0
push 0x62619c
lea ecx, [esp + 0x14]
call fcn.00593ab7
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ebx
push ebx
push ecx
push 0x22
mov ecx, esi
call dword [eax + 8]
mov ebp, dword [esi + 0x264]
mov ecx, ebp
mov dword [esp + 0x1c], ebp
call fcn.0040fa80
mov edi, eax
cmp edi, ebx
je 0x416641
mov byte [esp + 0x20], bl
mov byte [esp + 0x27], bl
mov byte [esp + 0x32], bl
mov byte [esp + 0x39], bl
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x64
push 7
lea ecx, [esp + 0x48]
mov byte [esp + 0xc50], 0xe
mov dword [esp + 0x70], ebx
call fcn.0040b8a0
mov eax, 1
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
push 3
lea edx, [edi + 0x28]
push ebx
lea eax, [edi + 0x16]
push edx
lea ecx, [edi + 4]
push eax
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0xc7c], 0xf
call fcn.0040d490
lea edx, [esp + 0x20]
mov ecx, edi
push edx
call fcn.0040c660
mov eax, dword [esp + 0x6c]
mov byte [esp + 0xc4c], 0x12
cmp eax, ebx
mov dword [esp + 0x44], ebx
je 0x4165fb
push eax
call fcn.0058ed21
add esp, 4
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xc4c], 0x11
cmp eax, ebx
je 0x41662c
mov ecx, dword [eax - 4]
lea ebp, [eax - 4]
push fcn.00425060
push ecx
push 0x12
push eax
call fcn.00573a14
push ebp
call fcn.0058ed21
mov ebp, dword [esp + 0x20]
add esp, 4
mov ecx, edi
mov byte [esp + 0xc4c], 0xb
call fcn.0040c5a0
mov dword [ebp + 0x170], ebx
lea ecx, [esp + 0x10]
mov dword [esi + 0x3c], 1
mov dword [esp + 0xc4c], 0xffffffff
call fcn.005936db
mov ecx, dword [esi + 0x264]
call fcn.0040fb50
mov ecx, dword [esi + 0x264]
call fcn.0040ff00
mov ecx, dword [esp + 0xc44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc40
ret