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

Disassembly:
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, dword [esp + 0x98]
push edi
mov dword [esp + 0x24], ecx
xor eax, eax
test esi, esi
mov ecx, 8
lea edi, [esp + 0x58]
mov dword [esp + 0x44], edx
rep stosd dword es:[edi], eax
jbe 0x2472e10
mov ecx, edx
xor eax, eax
mov ax, word [ecx]
inc word [esp + eax*2 + 0x58]
add ecx, 2
dec esi
lea eax, [esp + eax*2 + 0x58]
jne 0x2472dfc
mov esi, dword [esp + 0xa4]
mov ecx, dword [esi]
mov ebp, 0xf
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ebp
lea eax, [esp + 0x76]
cmp word [eax], 0
jne 0x2472e39
dec ebp
sub eax, 2
cmp ebp, 1
jae 0x2472e2a
cmp ecx, ebp
mov dword [esp + 0x20], ebp
jbe 0x2472e47
mov dword [esp + 0x14], ebp
mov ecx, ebp
test ebp, ebp
jne 0x2472e8e
mov eax, dword [esp + 0xa0]
mov edx, dword [eax]
mov word [esp + 0x12], bp
mov byte [esp + 0x10], 0x40
mov byte [esp + 0x11], 1
mov ecx, dword [esp + 0x10]
mov dword [edx], ecx
mov edx, dword [eax]
add edx, 4
mov dword [eax], edx
mov dword [edx], ecx
mov ecx, dword [eax]
add ecx, 4
pop edi
mov dword [eax], ecx
mov dword [esi], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret 0x10
mov edx, 1
lea eax, [esp + 0x5a]
cmp word [eax], 0
jne 0x2472ea6
inc edx
add eax, 2
cmp edx, 0xf
jbe 0x2472e97
cmp ecx, edx
jae 0x2472eb0
mov dword [esp + 0x14], edx
mov ecx, edx
mov edi, 1
mov eax, edi
lea esi, [esp + 0x5a]
xor ebx, ebx
mov bx, word [esi]
add edi, edi
sub edi, ebx
js 0x2472ee0
inc eax
add esi, 2
cmp eax, 0xf
jbe 0x2472ebb
xor esi, esi
cmp edi, esi
jle 0x2472ef0
cmp dword [esp + 0x24], esi
je 0x2472ee0
cmp ebp, 1
je 0x2472ef0
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x88
ret 0x10
mov word [esp + 0x7a], si
xor eax, eax
mov di, word [esp + eax + 0x5a]
add di, word [esp + eax + 0x7a]
add eax, 2
cmp eax, 0x1c
mov word [esp + eax + 0x7a], di
jb 0x2472ef7
cmp dword [esp + 0x9c], esi
mov edi, dword [esp + 0xa8]
jbe 0x2472f5b
mov ebp, dword [esp + 0x44]
xor eax, eax
mov ax, word [ebp]
test ax, ax
je 0x2472f4c
and eax, 0xffff
xor ebx, ebx
mov bx, word [esp + eax*2 + 0x78]
xor eax, eax
mov word [edi + ebx*2], si
mov ax, word [ebp]
inc word [esp + eax*2 + 0x78]
lea eax, [esp + eax*2 + 0x78]
mov eax, dword [esp + 0x9c]
inc esi
add ebp, 2
cmp esi, eax
jb 0x2472f22
mov eax, dword [esp + 0x24]
xor ebx, ebx
sub eax, ebx
mov esi, 0xffffffff
je 0x2472fa9
dec eax
je 0x2472f83
mov dword [esp + 0x34], 0x24cb268
mov dword [esp + 0x30], 0x24cb2a8
mov dword [esp + 0x38], esi
jmp 0x2472fb9
mov eax, 0x24cb1e8
sub eax, 0x202
mov dword [esp + 0x34], eax
mov eax, 0x24cb228
sub eax, 0x202
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x100
jmp 0x2472fb9
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x13
mov eax, dword [esp + 0xa0]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], esi
lea ecx, [eax - 1]
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x24], 1
mov ebp, eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x2c], eax
jne 0x247300a
cmp eax, 0x5b0
jb 0x247300a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x88
ret 0x10
mov dword [esp + 0x28], edi
jmp 0x2473014
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
mov al, dl
sub al, bl
mov byte [esp + 0x11], al
xor eax, eax
mov ax, word [ecx]
mov ecx, dword [esp + 0x38]
mov esi, eax
and esi, 0xffff
cmp esi, ecx
jge 0x2473041
mov byte [esp + 0x10], 0
mov word [esp + 0x12], ax
jmp 0x2473069
jle 0x247305d
mov eax, dword [esp + 0x30]
mov cl, byte [eax + esi*2]
mov eax, dword [esp + 0x34]
mov byte [esp + 0x10], cl
mov cx, word [eax + esi*2]
mov word [esp + 0x12], cx
jmp 0x2473069
mov byte [esp + 0x10], 0x60
mov word [esp + 0x12], 0
mov ecx, edx
sub ecx, ebx
mov eax, ebp
mov ebp, dword [esp + 0x18]
mov esi, 1
shl esi, cl
mov ecx, ebx
shr ebp, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
lea edi, [esi*4]
add ebp, eax
lea ecx, [ecx + ebp*4]
mov ebp, dword [esp + 0x10]
sub eax, esi
sub ecx, edi
test eax, eax
mov dword [ecx], ebp
jne 0x2473096
lea ecx, [edx - 1]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x18]
test ecx, eax
je 0x24730b8
shr eax, 1
test ecx, eax
jne 0x24730b2
xor edi, edi
cmp eax, edi
je 0x24730cb
lea esi, [eax - 1]
and esi, ecx
add esi, eax
mov dword [esp + 0x18], esi
jmp 0x24730d1
mov dword [esp + 0x18], edi
mov esi, edi
mov ebp, dword [esp + 0x28]
add ebp, 2
dec word [esp + edx*2 + 0x58]
cmp word [esp + edx*2 + 0x58], di
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x20]
jne 0x2473109
cmp edx, ebp
je 0x24731da
mov eax, dword [esp + 0x28]
xor edx, edx
mov dx, word [eax]
mov eax, dword [esp + 0x44]
mov ecx, edx
xor edx, edx
mov dx, word [eax + ecx*2]
cmp edx, dword [esp + 0x14]
jbe 0x2473010
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
and edi, ecx
cmp edi, eax
mov dword [esp + 0x54], edi
je 0x2473010
test ebx, ebx
jne 0x2473139
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x40], ebx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
lea ecx, [ecx + eax*4]
mov dword [esp + 0x1c], ecx
mov ecx, edx
sub ecx, ebx
mov eax, 1
lea esi, [ebx + ecx]
shl eax, cl
cmp esi, ebp
jae 0x2473178
lea edi, [esp + esi*2 + 0x58]
xor ebx, ebx
mov bx, word [edi]
sub eax, ebx
test eax, eax
jle 0x2473174
inc ecx
inc esi
add edi, 2
shl eax, 1
cmp esi, ebp
jb 0x247315e
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov eax, 1
mov ebp, eax
shl ebp, cl
add ebx, ebp
cmp esi, eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x2c], ebx
jne 0x24731a5
mov esi, ebx
cmp esi, 0x5b0
jae 0x2473272
mov esi, dword [esp + 0xa0]
mov bl, byte [esp + 0x14]
mov eax, edi
mov edi, dword [esi]
mov byte [edi + eax*4], cl
mov ecx, dword [esi]
mov byte [ecx + eax*4 + 1], bl
mov esi, dword [esi]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
sub ecx, esi
sar ecx, 2
mov dword [esp + 0x3c], eax
mov word [esi + eax*4 + 2], cx
jmp 0x2473014
mov al, dl
sub al, bl
mov word [esp + 0x12], di
cmp esi, edi
mov edi, dword [esp + 0xa0]
mov byte [esp + 0x10], 0x40
mov byte [esp + 0x11], al
je 0x2473252
mov ebp, dword [esp + 0x1c]
jmp 0x2473201
mov esi, dword [esp + 0x18]
test ebx, ebx
je 0x247321f
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
and ecx, esi
cmp ecx, eax
je 0x247321f
mov edx, dword [esp + 0x14]
mov ebp, dword [edi]
xor ebx, ebx
mov byte [esp + 0x11], dl
mov ecx, ebx
mov eax, esi
shr eax, cl
mov ecx, dword [esp + 0x10]
mov dword [ebp + eax*4], ecx
lea ecx, [edx - 1]
mov eax, 1
shl eax, cl
test esi, eax
je 0x2473241
shr eax, 1
test esi, eax
jne 0x247323b
test eax, eax
je 0x2473252
lea ecx, [eax - 1]
and ecx, esi
add ecx, eax
mov dword [esp + 0x18], ecx
jne 0x24731fd
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi]
lea eax, [edx*4]
mov edx, dword [esp + 0xa4]
add ecx, eax
mov dword [edi], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx], ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x10